def triangle():
    n = 0
    results = []
    for t in triangle():
        print(t)
        results.append(t)
        
    n, a, b = 0, 0, 1
    while n < max:
        yield b
        a, b = b, a + b
        n = n + 1
    return 'done' 
